<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="" method="post">
    {% csrf_token %}
    <div>
        <label for="username">username</label>
       username<span><input name="username"></span>
    </div>
    <div>
        <label for="pwd">password</label>
       pwd<span><input name="pwd"/></span>
    </div>
    <input type="submit">
</form>
</body>
</html>